package com.yangtianfeng58.pojo;

import java.time.LocalDateTime;

public class Votes {
    private Integer id;
    private Integer userId;
    private Integer optionId;
    private LocalDateTime voteDate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getOptionId() {
        return optionId;
    }

    public void setOptionId(Integer optionId) {
        this.optionId = optionId;
    }

    public LocalDateTime getVoteDate() {
        return voteDate;
    }

    public void setVoteDate(LocalDateTime voteDate) {
        this.voteDate = voteDate;
    }

    @Override
    public String toString() {
        return "Votes{" +
                "id=" + id +
                ", userId=" + userId +
                ", optionId=" + optionId +
                ", voteDate=" + voteDate +
                '}';
    }
}
